Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.0 in /tools/golangci-lint #859

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 7, 2024

Bumps github.com/golangci/golangci-lint from 1.55.2 to 1.56.0.

Release notes

Sourced from github.com/golangci/golangci-lint's releases.

v1.56.0

golangci-lint is a free and open-source project, built by people in their free time. Also, the linter authors are an important part of golangci-lint. If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linters authors). ❤️

Changelog

  • bc169eb6 build(deps): bump actions/cache from 3 to 4 (#4329)
  • 390acc9f build(deps): bump actions/setup-go from 4 to 5 (#4250)
  • 42001943 build(deps): bump github.com/Antonboom/testifylint from 0.2.3 to 1.0.1 (#4186)
  • a12dde07 build(deps): bump github.com/Antonboom/testifylint from 1.0.1 to 1.0.2 (#4193)
  • 7656f82c build(deps): bump github.com/Antonboom/testifylint from 1.0.2 to 1.1.0 (#4330)
  • 1a00b409 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v3 from 3.1.0 to 3.2.0 (#4304)
  • affa7d11 build(deps): bump github.com/OpenPeeDeeP/depguard/v2 from 2.1.0 to 2.2.0 (#4207)
  • 553161d9 build(deps): bump github.com/alecthomas/go-check-sumtype from 0.1.3 to 0.1.4 (#4317)
  • e32f2f3f build(deps): bump github.com/bombsimon/wsl/v4 from 3.4.0 to 4.2.0 (#4215)
  • 6e09a205 build(deps): bump github.com/butuzov/ireturn from 0.2.2 to 0.3.0 (#4352)
  • 2b7c777b build(deps): bump github.com/catenacyber/perfsprint from 0.2.0 to 0.3.0 (#4157)
  • be5c2e93 build(deps): bump github.com/catenacyber/perfsprint from 0.3.0 to 0.3.1 (#4199)
  • 84442f26 build(deps): bump github.com/catenacyber/perfsprint from 0.3.1 to 0.4.0 (#4236)
  • 5083ba8c build(deps): bump github.com/catenacyber/perfsprint from 0.4.0 to 0.5.0 (#4258)
  • 4ea9468c build(deps): bump github.com/catenacyber/perfsprint from 0.5.0 to 0.6.0 (#4346)
  • 1ead82ff build(deps): bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 in /tools (#4307)
  • 815556a8 build(deps): bump github.com/daixiang0/gci from 0.11.2 to 0.12.0 (#4260)
  • 0264eaa5 build(deps): bump github.com/daixiang0/gci from 0.12.0 to 0.12.1 (#4293)
  • da3eb313 build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 (#4194)
  • 97cb9054 build(deps): bump github.com/ghostiam/protogetter from 0.2.3 to 0.3.1 (#4167)
  • 2640ed7c build(deps): bump github.com/ghostiam/protogetter from 0.3.1 to 0.3.3 (#4185)
  • 3ff41630 build(deps): bump github.com/ghostiam/protogetter from 0.3.3 to 0.3.4 (#4327)
  • 87d55d9c build(deps): bump github.com/go-critic/go-critic from 0.10.0 to 0.11.0 (#4295)
  • 790c1632 build(deps): bump github.com/go-critic/go-critic from 0.9.0 to 0.10.0 (#4249)
  • 32dd629c build(deps): bump github.com/go-git/go-git/v5 from 5.4.2 to 5.11.0 in /tools (#4288)
  • 77cfc00d build(deps): bump github.com/gordonklaus/ineffassign from 0.0.0-20230610083614-0e73809eb601 to 0.1.0 (#4173)
  • 53e2c534 build(deps): bump github.com/jgautheron/goconst from 1.6.0 to 1.7.0 (#4200)
  • 1bb8c57d build(deps): bump github.com/jjti/go-spancheck from 0.4.2 to 0.5.2 (#4316)
  • 77ffe366 build(deps): bump github.com/kunwardeep/paralleltest from 1.0.8 to 1.0.9 (#4256)
  • 8301163c build(deps): bump github.com/mgechev/revive from 1.3.4 to 1.3.5 (#4305)
  • 057c296c build(deps): bump github.com/mgechev/revive from 1.3.5 to 1.3.6 (#4314)
  • b3146552 build(deps): bump github.com/nishanths/exhaustive from 0.11.0 to 0.12.0 (#4195)
  • 1c7e42ac build(deps): bump github.com/nunnatsa/ginkgolinter from 0.14.1 to 0.15.1 (#4248)
  • f921f000 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.15.1 to 0.15.2 (#4282)
  • dfd09848 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.5 to 1.4.6 (#4234)
  • 42cdc306 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.6 to 1.4.7 (#4245)
  • 1cfbe0d1 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.7 to 1.4.8 (#4337)
  • a0d04014 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.10 to 3.23.11 (#4233)
  • 8f4b1a79 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.11 to 3.23.12 (#4296)
  • ee98b504 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.12 to 3.24.1 (#4344)
  • 0d5efec2 build(deps): bump github.com/sigstore/cosign from 1.13.1 to 1.13.2 in /tools (#4251)
  • 4c6c8711 build(deps): bump github.com/tetafro/godot from 1.4.15 to 1.4.16 (#4192)
  • 57bc603e build(deps): bump github.com/ykadowak/zerologlint from 0.1.3 to 0.1.4 (#4222)
  • 5cb49739 build(deps): bump github.com/ykadowak/zerologlint from 0.1.4 to 0.1.5 (#4235)

... (truncated)

Changelog

Sourced from github.com/golangci/golangci-lint's changelog.

v1.56.0

  1. new linters
  2. updated linters
    • depguard: from 2.1.0 to 2.2.0
    • exhaustive: from 0.11.0 to 0.12.0
    • exhaustruct: from 3.1.0 to 3.2.0
    • gci: from 0.11.2 to 0.12.1
    • ginkgolinter: from 0.14.1 to 0.15.2
    • go-check-sumtype: from 0.1.3 to 0.1.4
    • go-critic: from 0.9.0 to 0.11.0
    • go-errorlint: from 1.4.5 to 1.4.8
    • go-spancheck: from 0.4.2 to 0.5.2
    • goconst: from 1.6.0 to 1.7.0
    • godot: from 1.4.15 to 1.4.16
    • gofumpt: from 0.5.0 to 0.6.0
    • inamedparam: from 0.1.2 to 0.1.3
    • ineffassign: from 0.0.0-20230610083614-0e73809eb601 to 0.1.0
    • ireturn: from 0.2.2 to 0.3.0
    • misspell: add mode option
    • musttag: from v0.7.2 to v0.8.0
    • paralleltest: from 1.0.8 to 1.0.9
    • perfsprint: from 0.2.0 to 0.6.0
    • protogetter: from 0.2.3 to 0.3.4
    • revive: from 1.3.4 to 1.3.6
    • sloglint: add static-msg option
    • sloglint: from 0.1.2 to 0.4.0
    • testifylint: from 0.2.3 to 1.1.0
    • unparam: from 20221223090309-7455f1af531d to 20240104100049-c549a3470d14
    • whitespace: update after moving to the analysis package
    • wsl: from 3.4.0 to 4.2.0
    • zerologlint: from 0.1.3 to 0.1.5
  3. misc.
    • Implement stats per linter with a flag
    • fix: make versioning inside Docker image consistent with binaries
    • fix: parse Go RC version
  4. Documentation
    • Add missing fields to .golangci.reference.yml
    • Fix noctx description
    • Improve .golangci.reference.yml defaults
    • Improve typecheck FAQ
    • Note that exhaustruct struct regular expressions are expected to match the entire package/name/structname
    • Adjust wrapcheck ignoreSigs to new defaults

Important

testifylint has breaking changes about enabling/disabling checks:

  • If you were using the option enable with a filtered list of checks, you should either add disable-all: true (1) or use disable field (2).

... (truncated)

Commits
  • 1a00b40 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v3 from 3.1.0...
  • 192ee89 go1.22 support (#4272)
  • 6e09a20 build(deps): bump github.com/butuzov/ireturn from 0.2.2 to 0.3.0 (#4352)
  • a7c175b build(deps): bump peter-evans/create-pull-request from 5 to 6 (#4348)
  • a727aa5 dev: remove unrelated flags from config and linters command (#4284)
  • 4ea9468 build(deps): bump github.com/catenacyber/perfsprint from 0.5.0 to 0.6.0 (#4346)
  • ee98b50 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.12 to 3.24.1 (#4344)
  • b3ffe70 feat: implement stats per linter with a flag (#4341)
  • 7bc1927 docs: adjust list from why install from source is not recommended (#4340)
  • e4c6e1f dev: replace mitchellh/mapstructure by go-viper/mapstructure/v2 (#4339)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.55.2 to 1.56.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v1.55.2...v1.56.0)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from prymitive as a code owner February 7, 2024 19:04
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Feb 7, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request was validated by pint.

✔️ No problems found

Stats

Stat Value
Version v0.53.0-74-g8d4d7b7
Number of rules parsed 4
Number of rules checked 0
Number of problems found 0
Number of offline checks 0
Number of online checks 0
Checks duration 0

Problems

No problems reported

Copy link

github-actions bot commented Feb 7, 2024

Benchmark diff:

goos: linux
goarch: amd64
pkg: github.com/cloudflare/pint/cmd/pint
cpu: AMD EPYC 7763 64-Core Processor                
              │   old.txt   │              new.txt               │
              │   sec/op    │   sec/op     vs base               │
FindEntries-4   110.0m ± 1%   110.3m ± 1%       ~ (p=0.529 n=10)
CheckRules-4    108.9m ± 2%   109.1m ± 3%       ~ (p=0.529 n=10)
geomean         109.4m        109.7m       +0.21%

              │   old.txt    │               new.txt               │
              │     B/op     │     B/op      vs base               │
FindEntries-4   69.36Mi ± 0%   69.36Mi ± 0%       ~ (p=0.684 n=10)
CheckRules-4    127.0Mi ± 0%   127.0Mi ± 1%       ~ (p=0.165 n=10)
geomean         93.85Mi        93.86Mi       +0.00%

              │   old.txt   │              new.txt               │
              │  allocs/op  │  allocs/op   vs base               │
FindEntries-4   540.1k ± 0%   540.1k ± 0%       ~ (p=0.224 n=10)
CheckRules-4    956.2k ± 0%   956.2k ± 1%       ~ (p=0.086 n=10)
geomean         718.6k        718.6k       +0.00%

@prymitive prymitive merged commit 46e9410 into main Feb 7, 2024
19 checks passed
@prymitive prymitive deleted the dependabot/go_modules/tools/golangci-lint/github.com/golangci/golangci-lint-1.56.0 branch February 7, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant